﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

    public partial class Logoff : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            HttpCookie delCookie;
            delCookie = new HttpCookie("");
            delCookie.Expires = DateTime.Now.AddDays(-1D);
            Response.Cookies.Add(delCookie);

            Session.Abandon();
            Response.Redirect("../main/Login.aspx");
        }
    }
